package com.example.cofeed.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.cofeed.R;
import com.example.cofeed.entity.History;

import java.util.List;

public class HistorySubAdapter extends BaseQuickAdapter<History, BaseViewHolder> {
    public HistorySubAdapter() {
        super(R.layout.adapter_history_sub);
    }

    @Override
    protected void convert(BaseViewHolder helper, History item) {

        helper.setText(R.id.tv_title, item.title);

        helper.addOnClickListener(R.id.ll_delete);


    }
}
